package com.ctrip.cap.device.ios;

import com.ctrip.cap.device.Device;
import com.ctrip.cap.device.model.DeviceInfo;

/**
 * @author zwxu
 *
 */
public interface IOSDevice extends Device {

	void install(String appFullPath);

	void uninstall(String bundleID);

	boolean isInstalled(String bundleID);

	void takeScreenshot(String fileUrl);

	boolean isDeviceReady();

	boolean isScreenOn();

	/**
	 * io.appium.unlock/.Unlock
	 */
	void unlock();

	/**
	 * 
	 * @return
	 */
	String getName();

	String getPlatformVersion();

	void clearUserData(String bundleID);

	boolean start(String bundleID);

	void kill(String bundleID);

	DeviceInfo getDeviceInfo();

	/**
	 * @see KeyEvent
	 * @param value
	 */
	void inputKeyevent(int value);

	boolean isWifiOff();
}
